package com.java.star.mall.front.pojo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 商品Pojo实体
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class Product extends Base implements Serializable {

    private static final long serialVersionUID = 6284341626228942231L;

    //id
    private Integer id;

    //名称
    private String name;

    //价格
    private BigDecimal price;

    //库存
    private Integer stock;

    //商品图片
    private String proPic;

    //是否热门推荐商品 0 不推荐 1推荐
    private String isHot;

    //是否轮播图片商品 0不轮播 1轮播
    private String isSwiper;

    //轮播排序
    private Integer swiperSort;

    //商品轮播图片
    private String swiperPic;

    //类别id
    private Integer categoryId;

    //设置热门时间
    private Date hotDateTime;

    //商品介绍图片
    private String productIntroImgs;

    //商品规格参数图片
    private String productParaImgs;

    //描述
    private String description;

}
